package com.isdepci.project.gasEmission.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 物流对象 tpf_logistics
 *
 * @author isdepci
 * @date 2023-09-01
 */
public class Logistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 物流基于类型(1燃料数量/2运输距离)  */
    @Excel(name = "物流基于类型(1燃料数量/2运输距离) ")
    private Integer logisticsType;

    /** 物流类型(1入场物流/2出场物流)  */
    @Excel(name = "物流类型(1入场物流/2出场物流) ")
    private Integer logisticsForm;

    /** 物流承担方 */
    @Excel(name = "物流承担方")
    private String logisticsProvider;

    /** 运输工具所有权和控制权 */
    @Excel(name = "运输工具所有权和控制权")
    private String vehicleOwnershipAndControl;

    /** 燃料类型和单位 */
    @Excel(name = "燃料类型和单位")
    private String fuelAndUnits;

    /** 年消耗量 */
    @Excel(name = "年消耗量")
    private BigDecimal quantityPerYear;

    /** 方式和描述 */
    @Excel(name = "方式和描述")
    private String modeAndDescription;

    /** 每年吨千米 */
    @Excel(name = "每年吨千米")
    private BigDecimal tonKmPerYear;

    /** 关联首页表 */
    @Excel(name = "关联首页表")
    private Long infoId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setLogisticsType(Integer logisticsType)
    {
        this.logisticsType = logisticsType;
    }

    public Integer getLogisticsType()
    {
        return logisticsType;
    }
    public void setLogisticsForm(Integer logisticsForm)
    {
        this.logisticsForm = logisticsForm;
    }

    public Integer getLogisticsForm()
    {
        return logisticsForm;
    }
    public void setLogisticsProvider(String logisticsProvider)
    {
        this.logisticsProvider = logisticsProvider;
    }

    public String getLogisticsProvider()
    {
        return logisticsProvider;
    }
    public void setVehicleOwnershipAndControl(String vehicleOwnershipAndControl)
    {
        this.vehicleOwnershipAndControl = vehicleOwnershipAndControl;
    }

    public String getVehicleOwnershipAndControl()
    {
        return vehicleOwnershipAndControl;
    }
    public void setFuelAndUnits(String fuelAndUnits)
    {
        this.fuelAndUnits = fuelAndUnits;
    }

    public String getFuelAndUnits()
    {
        return fuelAndUnits;
    }
    public void setQuantityPerYear(BigDecimal quantityPerYear)
    {
        this.quantityPerYear = quantityPerYear;
    }

    public BigDecimal getQuantityPerYear()
    {
        return quantityPerYear;
    }
    public void setModeAndDescription(String modeAndDescription)
    {
        this.modeAndDescription = modeAndDescription;
    }

    public String getModeAndDescription()
    {
        return modeAndDescription;
    }
    public void setTonKmPerYear(BigDecimal tonKmPerYear)
    {
        this.tonKmPerYear = tonKmPerYear;
    }

    public BigDecimal getTonKmPerYear()
    {
        return tonKmPerYear;
    }
    public void setInfoId(Long infoId)
    {
        this.infoId = infoId;
    }

    public Long getInfoId()
    {
        return infoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("logisticsType", getLogisticsType())
            .append("logisticsForm", getLogisticsForm())
            .append("logisticsProvider", getLogisticsProvider())
            .append("vehicleOwnershipAndControl", getVehicleOwnershipAndControl())
            .append("fuelAndUnits", getFuelAndUnits())
            .append("quantityPerYear", getQuantityPerYear())
            .append("modeAndDescription", getModeAndDescription())
            .append("tonKmPerYear", getTonKmPerYear())
            .append("infoId", getInfoId())
            .toString();
    }
}
